<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>RobotClient: TextLog类参考</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">RobotClient
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- 制作者 Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>组合类型列表</span></a></li>
      <li><a href="classes.html"><span>组合类型索引</span></a></li>
      <li><a href="functions.html"><span>组合类型成员</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_text_log.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">公有成员</a> &#124;
<a href="#pri-attribs">私有属性</a>  </div>
  <div class="headertitle">
<div class="title">TextLog类参考</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="TextLog" -->
<p>显示聊天对白的文本框  
 <a href="class_text_log.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_text_log_8h_source.html">TextLog.h</a>&gt;</code></p>

<p><a href="class_text_log-members.html">所有成员的列表。</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
公有成员</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_text_log.html#a980c73330583c4b0c7dc04cbbb9c62f2">TextLog</a> (wxWindow *parent, wxWindowID id, const wxString value, const wxPoint &amp;pos, const wxSize &amp;size, long style, const wxValidator &amp;validator, const wxString &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数  <a href="#a980c73330583c4b0c7dc04cbbb9c62f2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_text_log.html#aef33ef35e4d7dbf90d859c5ef5c529a4">AddLog</a> (const wxString name, const wxString msg)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">添加聊天记录  <a href="#aef33ef35e4d7dbf90d859c5ef5c529a4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">wxString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_text_log.html#a78055a86dae63b076fc7372a1a5c7b08">LastMsg</a> (wxString name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">获取name说的最后一句话  <a href="#a78055a86dae63b076fc7372a1a5c7b08"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
私有属性</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">map&lt; wxString, vector&lt; wxString &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_text_log.html#af6167912e7156f94e928f6c468e5a165">log</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>详细描述</h2>
<div class="textblock"><p>显示聊天对白的文本框 </p>
<p>继承自wxTextCtrl </p>

<p>在文件<a class="el" href="_text_log_8h_source.html">TextLog.h</a>第<a class="el" href="_text_log_8h_source.html#l00021">21</a>行定义。</p>
</div><hr/><h2>构造及析构函数文档</h2>
<a class="anchor" id="a980c73330583c4b0c7dc04cbbb9c62f2"></a><!-- doxytag: member="TextLog::TextLog" ref="a980c73330583c4b0c7dc04cbbb9c62f2" args="(wxWindow *parent, wxWindowID id, const wxString value, const wxPoint &amp;pos, const wxSize &amp;size, long style, const wxValidator &amp;validator, const wxString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_text_log.html#a980c73330583c4b0c7dc04cbbb9c62f2">TextLog::TextLog</a> </td>
          <td>(</td>
          <td class="paramtype">wxWindow *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">wxWindowID&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const wxString&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const wxPoint &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const wxSize &amp;&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>style</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const wxValidator &amp;&#160;</td>
          <td class="paramname"><em>validator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const wxString &amp;&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>构造函数 </p>
<dl class="params"><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父窗口 </td></tr>
    <tr><td class="paramname">id</td><td>组件ID </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd></dd></dl>

<p>在文件<a class="el" href="_text_log_8cpp_source.html">TextLog.cpp</a>第<a class="el" href="_text_log_8cpp_source.html#l00003">3</a>行定义。</p>

</div>
</div>
<hr/><h2>成员函数文档</h2>
<a class="anchor" id="aef33ef35e4d7dbf90d859c5ef5c529a4"></a><!-- doxytag: member="TextLog::AddLog" ref="aef33ef35e4d7dbf90d859c5ef5c529a4" args="(const wxString name, const wxString msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_text_log.html#aef33ef35e4d7dbf90d859c5ef5c529a4">TextLog::AddLog</a> </td>
          <td>(</td>
          <td class="paramtype">const wxString&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const wxString&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>添加聊天记录 </p>
<dl class="params"><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>说话人 </td></tr>
    <tr><td class="paramname">msg</td><td>说话内容 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd></dd></dl>

<p>在文件<a class="el" href="_text_log_8cpp_source.html">TextLog.cpp</a>第<a class="el" href="_text_log_8cpp_source.html#l00011">11</a>行定义。</p>

<p><div class="dynheader">
这是这个函数的调用图：</div>
<div class="dyncontent">
<div class="center"><img src="class_text_log_aef33ef35e4d7dbf90d859c5ef5c529a4_icgraph.png" border="0" usemap="#class_text_log_aef33ef35e4d7dbf90d859c5ef5c529a4_icgraph" alt=""/></div>
<map name="class_text_log_aef33ef35e4d7dbf90d859c5ef5c529a4_icgraph" id="class_text_log_aef33ef35e4d7dbf90d859c5ef5c529a4_icgraph">
<area shape="rect" id="node3" href="class_client_frame.html#a2d6eb0b6ff71d5d06d6064d498646636" title="ClientFrame::OntxEditText" alt="" coords="173,5,349,32"/><area shape="rect" id="node7" href="class_client_frame.html#a81453de53c35bfb78e52bef78825c941" title="ClientFrame::OnMessage" alt="" coords="176,56,347,83"/><area shape="rect" id="node5" href="class_client_frame.html#a168b53f469815f6e4a653ee767b84e37" title="ClientFrame::ClientFrame" alt="" coords="397,5,568,32"/><area shape="rect" id="node9" href="class_client_frame.html#a62f7c461f3a4da6d7be83c21cab54730" title="ClientFrame::OnRead" alt="" coords="409,56,556,83"/><area shape="rect" id="node11" href="class_client_frame.html#ae39beabd4dd0309c7b519f5269d18c2e" title="ClientFrame::Show" alt="" coords="646,31,778,57"/><area shape="rect" id="node15" href="class_client_frame.html#a24e870523866761377b653818a65680e" title="ClientFrame::OnSocketEvent" alt="" coords="617,81,807,108"/><area shape="rect" id="node13" href="class_client_app.html#a16761f25742068251325a61b87742120" title="ClientApp::OnInit" alt="" coords="856,31,976,57"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a78055a86dae63b076fc7372a1a5c7b08"></a><!-- doxytag: member="TextLog::LastMsg" ref="a78055a86dae63b076fc7372a1a5c7b08" args="(wxString name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wxString <a class="el" href="class_text_log.html#a78055a86dae63b076fc7372a1a5c7b08">TextLog::LastMsg</a> </td>
          <td>(</td>
          <td class="paramtype">wxString&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>获取name说的最后一句话 </p>

<p>在文件<a class="el" href="_text_log_8cpp_source.html">TextLog.cpp</a>第<a class="el" href="_text_log_8cpp_source.html#l00017">17</a>行定义。</p>

<p><div class="dynheader">
这是这个函数的调用图：</div>
<div class="dyncontent">
<div class="center"><img src="class_text_log_a78055a86dae63b076fc7372a1a5c7b08_icgraph.png" border="0" usemap="#class_text_log_a78055a86dae63b076fc7372a1a5c7b08_icgraph" alt=""/></div>
<map name="class_text_log_a78055a86dae63b076fc7372a1a5c7b08_icgraph" id="class_text_log_a78055a86dae63b076fc7372a1a5c7b08_icgraph">
<area shape="rect" id="node3" href="class_client_frame.html#a15d6c241ccf7fa8157163cb9a9e109e9" title="ClientFrame::OnSendRespond" alt="" coords="182,31,381,57"/><area shape="rect" id="node5" href="class_client_frame.html#a62f7c461f3a4da6d7be83c21cab54730" title="ClientFrame::OnRead" alt="" coords="429,31,576,57"/><area shape="rect" id="node7" href="class_client_frame.html#ae39beabd4dd0309c7b519f5269d18c2e" title="ClientFrame::Show" alt="" coords="654,5,786,32"/><area shape="rect" id="node11" href="class_client_frame.html#a24e870523866761377b653818a65680e" title="ClientFrame::OnSocketEvent" alt="" coords="625,56,815,83"/><area shape="rect" id="node9" href="class_client_app.html#a16761f25742068251325a61b87742120" title="ClientApp::OnInit" alt="" coords="864,5,984,32"/></map>
</div>
</p>

</div>
</div>
<hr/><h2>成员数据文档</h2>
<a class="anchor" id="af6167912e7156f94e928f6c468e5a165"></a><!-- doxytag: member="TextLog::log" ref="af6167912e7156f94e928f6c468e5a165" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">map&lt;wxString,vector&lt;wxString&gt; &gt; <a class="el" href="class_text_log.html#af6167912e7156f94e928f6c468e5a165">TextLog::log</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>在文件<a class="el" href="_text_log_8h_source.html">TextLog.h</a>第<a class="el" href="_text_log_8h_source.html#l00053">53</a>行定义。</p>

</div>
</div>
<hr/>该类的文档由以下文件生成：<ul>
<li><a class="el" href="_text_log_8h_source.html">TextLog.h</a></li>
<li><a class="el" href="_text_log_8cpp_source.html">TextLog.cpp</a></li>
</ul>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>宏定义</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_text_log.html">TextLog</a>      </li>

    <li class="footer">Generated at 2012年一月9日 星期一 09:15:29 for RobotClient by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
